package cn.cdnsu.base.service;

import cn.cdnsu.auth.domain.Role;
import cn.cdnsu.auth.query.RoleQuery;
import cn.cdnsu.base.query.BaseQuery;
import cn.cdnsu.base.util.PageInfo;

import java.util.List;

public interface IBaseService<T> {
    PageInfo<T> queryPage(BaseQuery baseQuery);

    List<T> selectAll();

    T selectById(Long id);

    void batchDelete(List<Long> ids);

    void update(T t);

    void insert(T t);

    void delete(Long id);

}
